package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Role;
import com.itheima.pojo.User;
import java.util.List;
public interface UserManagementService {
    public void add(User user);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public void deleteById(Integer id);
    public void edit(User user);
    public User findById(Integer id);
    public List<User> findAll();

    public User findByUsername(String username);
    //查询所有角色
    List<Role> findAllRole();
}
